//
//  ModifyPhotoView.h
//  HpnotiqCustomize
//
//  Created by Harmandeep Singh on 09/06/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ModifyItemView.h"

@class ModifyPhotoView;

@protocol ModifyPhotoViewDelegate <NSObject>

- (void)modifyPhotoView:(ModifyPhotoView *)photoView newlySelectedObject:(ModifyItemView *)itemView;

@end




@interface ModifyPhotoView : UIView {
    
    ModifyItemView *mSelectedItemView;
    
    id <ModifyPhotoViewDelegate> viewDelegate;
}

@property (nonatomic, retain) ModifyItemView *mSelectedItemView;
@property (nonatomic, assign) id <ModifyPhotoViewDelegate> viewDelegate;

- (id)initWithImage:(UIImage *)image withinRect:(CGRect)withinFrame;

- (void)addModifyItemView:(ModifyItemView *)view withOrigin:(CGPoint)viewOrigin;

@end
